package pack;

public class Login {
	private String username="";
	private String pass="";
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPass() {
		return pass;
	}
	public void setPass(String pass) {
		this.pass = pass;
	}
	
	public String validate(){
		if(username.isEmpty()||pass.isEmpty())
			return "error";
		else
			return "sumit";
	}
	
	public boolean val(){
		if(username.isEmpty()||pass.isEmpty())
			return true;
		else
			return false;
	}
}
